package com.ybkj.daijia.server.service;

import com.ybkj.daijia.page.Page;
import com.ybkj.daijia.server.model.DriverGrade;
import java.util.List;

public interface DriverGradeService {

    Page<DriverGrade> queryAll();

    DriverGrade createGrade(String name, Integer grade);

    DriverGrade findOne(Long id);

    int update(DriverGrade dg);

    int delete(Long id);

    List<DriverGrade> findAll();

    DriverGrade findOneByName(String name);

}
